package com.lecing.dao;

import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * 财务日收入金额统计
 * Created by liucs on 2018/5/22.
 */
@Repository
public class StatFcInDao {
    private static final String namespace="com.lecing.dao.StatFcInDao.";
    @Resource
    private SqlSessionTemplate session;

    /**
     * 查询月付还款日额
     * @param statDate
     * @return
     */
    public double selectMpayRefundSum(@Param("statDate") String statDate){
        //
        double mpaySum=session.selectOne(namespace+"selectMpayRefundSum",statDate);
        return mpaySum;
    }
}
